Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rca): add screen context into investigation details #194753

Merged
merged 5 commits into from
Oct 3, 2024

Conversation

kdelemme
Copy link
Contributor

@kdelemme kdelemme commented Oct 2, 2024

resolves #194705

Summary

This PR introduces a new useScreenContext context that retrieve the investigation from the context and send the screen context to the AI assistant.

@kdelemme kdelemme added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:obs-ux-management Observability Management User Experience Team v8.16.0 labels Oct 2, 2024
@kdelemme kdelemme marked this pull request as ready for review October 2, 2024 18:18
@kdelemme kdelemme requested a review from a team as a code owner October 2, 2024 18:18
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Oct 3, 2024
Copy link
Contributor

@dominiqueclarke dominiqueclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Screenshot 2024-10-03 at 10 34 32 AM

@kibana-ci
Copy link
Collaborator

kibana-ci commented Oct 3, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: 21ee619
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-194753-21ee6192c9ca

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
investigateApp 565 567 +2

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
investigateApp 472.9KB 474.6KB +1.7KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kdelemme kdelemme merged commit 2e6a257 into elastic:main Oct 3, 2024
23 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11169135526

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@kdelemme kdelemme deleted the rca/contextual-informations branch October 4, 2024 13:09
kibanamachine added a commit that referenced this pull request Oct 4, 2024
…) (#194876)

# Backport

This will backport the following commits from `main` to `8.x`:
- [feat(rca): add screen context into investigation details
(#194753)](#194753)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kevin
Delemme","email":"kevin.delemme@elastic.co"},"sourceCommit":{"committedDate":"2024-10-03T20:20:35Z","message":"feat(rca):
add screen context into investigation details
(#194753)","sha":"2e6a257127c21fe287fbe7e1602f7defe4bc3453","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.16.0"],"title":"feat(rca):
add screen context into investigation
details","number":194753,"url":"https://github.com/elastic/kibana/pull/194753","mergeCommit":{"message":"feat(rca):
add screen context into investigation details
(#194753)","sha":"2e6a257127c21fe287fbe7e1602f7defe4bc3453"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194753","number":194753,"mergeCommit":{"message":"feat(rca):
add screen context into investigation details
(#194753)","sha":"2e6a257127c21fe287fbe7e1602f7defe4bc3453"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kevin Delemme <kevin.delemme@elastic.co>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
tiansivive pushed a commit to tiansivive/kibana that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-management Observability Management User Experience Team v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RCA] Add screen context for Assistant AI
5 participants